package com.example.user.mvp.contract;


import com.example.lib_core.http.BaseObserver;
import com.example.lib_core.mvp.model.IModel;
import com.example.lib_core.mvp.view.IView;
import com.example.user.bean.UserEntity;

public interface LoginContract{
    interface  View extends IView{
        String getUserName();

        String getUserPwd();

        void loginOk();
    }
    interface Model extends IModel{
        void requestLogin(String username, String pwd, BaseObserver<UserEntity> baseObserver);
    }

}
